<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:79:"D:\wamp\www\thinkphp_5.0.5_full\public/../application/index\view\index\bye.html";i:1495086350;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <title>bye <?php echo $name; ?></title>
</head>
<body>
    bye <?php echo $name; ?>
<script type="text/javascript">
    ws = new WebSocket("ws://www.thinkphp.cc:4236");
    ws.onopen = function(e) {
        ws.send(JSON.stringify({code:'868331011992179'}));
    }
    ws.onmessage = function(e) {
        alert("收到服务端的消息：" + e.data);
    };
</script>
</body>
</html>